package org.androidannotations.gradle.controller;

import org.androidannotations.annotations.EBean;
import org.androidannotations.gradle.view.activity.GlideDemoActivity;
import org.androidannotations.gradle.view.activity.GlideDemoActivity_;
import org.androidannotations.gradle.view.model.DemoListItemVo;

import java.util.ArrayList;
import java.util.List;

@EBean(scope = EBean.Scope.Singleton)
public class DemoController {

    public List<DemoListItemVo> findDemoList() {
        ArrayList<DemoListItemVo> demoListItemVos = new ArrayList<DemoListItemVo>();
        demoListItemVos.add(new DemoListItemVo("Glide Demo", GlideDemoActivity_.class));
        return demoListItemVos;
    }
}
